package com.ruoyi.order.api.factory;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.order.api.RemoteCfServiceService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.openfeign.FallbackFactory;

/**
 * @author jitwxs
 * @date 2024年06月07日 9:27
 */
public class RemoteCfServiceFallbackFactory implements FallbackFactory<RemoteCfServiceService> {
    private static final Logger log = LoggerFactory.getLogger(RemoteCfServiceFallbackFactory.class);
    @Override
    public RemoteCfServiceService create(Throwable cause) {
        log.error("错误结果:{}",cause);
        return null;
    }
}
